#include <iostream>
#include <math.h>

using namespace std;

int main()
{
    int i, m, n, o;
    cin >> o;
    for (m = 0, n = o * 2 - 1; m < n; m++)
    {
        if (m < o)
        {
            for (i = 0; i < n; i++)
            {
                if (m == abs(o - 1 - i))
                    cout << "*";
                else
                {
                    cout << " ";
                }
            }
            cout << "" << endl;
        }
        else
        {
            for (i = 0; i < n; i++)
            {
                if (n-m-1 == abs(o - 1 - i))
                    cout << "*";
                else
                {
                    cout << " ";
                }
            }
            cout << "" << endl;
        }
        
    }
    return 0;
}